home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
utils2
/
sbbeep.arj
/
SBBEEP.DOC
< prev
next >
Wrap
Text File
|
1994-03-12
|
6KB
|
121 lines
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
Sound Blaster Beep
SBBEEP v1.0
by
* NeoSphere Software *
March 12, 1994
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
Overview:
-purpose
-inventory
-usage
-the SBBEEP challenge
-bugs
-programming notes
-next version
-getting in touch
-warranty
PURPOSE:
=======
I wrote SBBEEP as a simple tool for anybody that is getting sick of
the annoying PC speaker's beep (take a hammer to it). This program is very
simple and straight forward. It emits a tone from your SB (Adlib compatible)
for 500 milliseconds. An example of how SBBEEP could be useful is to stick
it into some batch file (that's about the only thing it's useful for). It's
a lot louder then a plain speaker beep (about 47 dB). Perhaps you could put
it in the last line in your AUTOEXEC.BAT so you can here a gentle (yet loud)
tone when your computer is all warmed up. The possibilities are ENDLESS!!!
Another important factor in this program is its size. It's tiny! A little
bit under 4 KB (3980 bytes)! It should be small too but it wasn't at first
(more on that in the 'Programming Notes' section). So here it is SBBEEP!
I hope you enjoy!
INVENTORY:
=========
Here is a list of the original files that came with this package. If any
of these files are missing, extra files are added, or sizes are different,
PLEASE do not redistribute this package.
SBBEEP.ZIP 5970 bytes The ZIP containing the files below.
|
SBBEEP.COM 3980 bytes This is the beeper!
SBBEEP.DOC 5702 bytes The file you are reading.
TEST.BAT 248 bytes Batch file to compare beeps.
README.BAT 45 bytes Displays this document.
USAGE:
=====
The syntax and usage of SBBEEP is very simple. Just type 'SBBEEP'.
If you don't have a Adlib/Sound Blaster compatible sound card you shouldn't
hear anything and downloading this was a total waste of time for you. But
otherwise your speakers should beeeeeep.
THE SBBEEP CHALLENGE:
====================
Take the 'SBBEEP Challenge'! This is a short test that will hopefully
prove to you that SBBEEP sounds a little bit better than a standard DOS
beep. Simply type 'TEST' and follow the directions. If you're not convinced
just delete this package or put it in deep storage.
BUGS:
====
I don't know of any bugs yet. I know there is a short aftertone after the
beep. But that's about it. If you do find a bug please feel free to report
it to me (read 'Getting in Touch' later on for more info).
PROGRAMMING NOTES:
=================
SBBEEP was programmed by me, Travis Gebhardt, in Borland C++. I learned
how to emit tones from the SB by reading 'Programming the Adlib/Sound
Blaster FM Music Chips v2.0' by Jeffrey S. Lee (jlee@smylex.uucp), a very
good document that I downloaded recently. My first compile left me at about
18 kb. Pretty big for a simple task. I changed memory models from small to
tiny which brought the size down to 7 kb. I changed the TINY .exe to a .com
by using EXE2BIN. That lowered the size to 4416 bytes. I eliminated some
functions that I only used once (because SBBEEP is so simple and small),
optimized my variables (two bytes used during board detection), and just
basically tweaked it out. The final INCREDIBLE size is 3980 bytes! Free
source code is available at request (only C++).
NEXT VERSION:
============
SBBEEP v1.00 was meant to be a bare minimum. So naturally there is room
for improvement (at the cost of size, which I tried to reduce the most in
this version). Some things I'm thinking about adding are: variable sustain
length and variable frequency which would both be command line features.
Any other great ideas, just send'em in.
GETTING IN TOUCH:
================
To get in touch with me (please give any comments/criticism) just mail me
at one of the following addresses:
America Online - Trav
Internet - trav@aol.com
Snail Mail - Travis Gebhardt
42502 SE Oral Hull Road
Sandy, OR 97055
WARRANTY:
========
Just to make sure I don't get sued or anything for a beeper causing
deafness. This package (consisting of the original files described in the
'Inventory' section above) is provided on an "as-is" basis, and its author
makes no warranty or representation, express or implied, with respect to
its quality performance of fitness for a particular purpose. In no event
will the author of this package be liable for direct, indirect, special,
incidental, or consequential damages arising out of the use or inability to
use the programs/information contained within this package. Use of this
package is at your own risk.
This package ('SBBEEP.ZIP') may be used and copied freely so long as no
modifications are made to the files contained within. No money shall be
charged for its distribution beyond reasonable shipping, handling and
duplication costs, nor shall proprietary changes be made to this package so
that it cannot be distributed freely. This package may not be included in
catalogs or commercial packages without the written consent of its author.